<template>
  <div class="wrapper">
    <swiper :options="swiperOption">
      <swiper-slide v-for="i in 5" :key="i">Slide{{ i }}</swiper-slide>
      <div class="swiper-pagination" slot="pagination"></div>
    </swiper>
  </div>
</template>

<script>
export default {
  data() {
    return {
      swiperOption: {
        pagination: {
          el: ".swiper-pagination",
        },
      },
    };
  },
};
</script>

<style scoped lang="scss">
/* .wrapper {
  width: 500px;
  height: 150px;
  border: 1px solid #000;
  margin: 50px auto;
}
.wrapper .swiper-container {
  height: 100%;
}
.wrapper>>> .swiper-pagination-bullet-active {
  background: red;
} */
.wrapper {
  width: 500px;
  height: 150px;
  border: 1px solid #000;
  margin: 50px auto;
  .swiper-container {
    height: 100%;
  }
  ::v-deep .swiper-pagination-bullet-active {
    background: red;
  }
}
</style>
